package com.atguigu.tingshu.vo.base.user;

import com.atguigu.tingshu.vo.album.AlbumListVo;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;
import java.util.List;

@Data
@Schema(description = "用户订阅")
@Document
public class UserSubscribe {

	@Schema(description = "id")
	@Id
	private String id;

	@Schema(description = "用户ID")
	private Long userId;

	@Schema(description = "专辑ID")
	private Long albumId;

	@Schema(description = "创建时间")
	private Date createTime;
	@Schema(description = "更新时间")
	private Date updateTime;

	@Schema(description = "是否删除")
	@TableLogic
	private Boolean isDeleted;
}